<?php
/**
 * 系统房间每日流水
 */
namespace App\Models\MainDB\Statistics;

use Illuminate\Database\Eloquent\Model;

class SystemRoomEverydaySerial extends Model
{
    protected $table = 'ln_system_room_everyday_serial';

    protected $primaryKey = 'id';

    protected $fillable = [
        'id', //主键ID
        'room_id', //房间表主键id
        'date', //日期
        'room_gift_serial', //房间礼物流水
        'blind_box_serial', //盲盒流水
        'lucky_tree_serial', //许愿树流水
        'scramble_sugar_serial', //抢糖游戏流水
        'huoke_serial', //霍克城堡流水
        'ad_astra_serial', // 星际探险流水
        'star_wishing_serial', // 欢乐大作战流水
    ];

    public $timestamps = false;

    public function room_info()
    {
        return $this->hasOne('App\Models\MainDB\UserRoom','id','room_id');
    }
}
